package my.TheTvdb;

import java.util.ArrayList;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "Mirrors")
public final class Mirrors {

    @XmlElement(name = "Mirror")
    private ArrayList<Mirror> Mirrors;

    @XmlElementWrapper(name = "mirrors")
    public ArrayList<Mirror> getMirrors() {
        if (null == this.Mirrors)
            this.Mirrors = new ArrayList<>();
        return  this.Mirrors;
    }
}


